/**  
* @Title: BannerModel.java  
* @Description: TODO(用一句话描述该文件做什么)  
* @author 张鑫
* @phone 17561783855  
* @date 2019年8月9日  
*/
package com.fortune.rainshinecommon.model.system;

import javax.validation.constraints.NotBlank;

import com.baomidou.mybatisplus.annotations.TableName;
import com.fortune.rainshinecommon.base.BaseModel;

/**  
* @ClassName: BannerModel  
* @Description: TODO(这里用一句话描述这个类的作用)  
* @author 张鑫
* @phone 17561783855
* @date 2019年8月9日  
*    
*/
@TableName("banner")
public class BannerModel extends BaseModel{

	private static final long serialVersionUID = 4367256707063994229L;
	
	@NotBlank(message = "图片地址")
    private String picPath;
    @NotBlank(message = "跳转路径")
    private String url;
    @NotBlank(message = "状态（0：显示；1隐藏）")
    private Short state;
    //描述
    private String describe;
	public String getPicPath() {
		return picPath;
	}
	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getDescribe() {
		return describe;
	}
	public void setDescribe(String describe) {
		this.describe = describe;
	}
	public Short getState() {
		return state;
	}
	public void setState(Short state) {
		this.state = state;
	}
}
